﻿// ***********************************************************************
// Assembly         : DonNicky.Common
// Author           : donnicky
// Created          : 12-02-2012
//
// Last Modified By : donnicky
// Last Modified On : 12-02-2012
// ***********************************************************************
// <copyright file="TypeDisplayNameAttribute.cs" company="DonNicky">
//     Copyright (c) DonNicky. All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************
using System;

namespace DonNicky.Common
{
    /// <summary>
    /// Attribute class for defining type display name.
    /// </summary>
    [AttributeUsage(AttributeTargets.Interface | AttributeTargets.Class)]
    public class TypeDisplayNameAttribute : Attribute
    {
        /// <summary>
        /// Gets or sets the resource type with string display name value.
        /// </summary>
        /// <value>The resource type with string display name value.</value>
        public Type ResourceType { get; set; }
        /// <summary>
        /// Gets or sets the display name or the name of the resource.
        /// </summary>
        /// <value>The display name or name of the resource.</value>
        public string Name { get; set; }
        /// <summary>
        /// Gets or sets the plural display name or the name of the resource.
        /// </summary>
        /// <value>The plural display name or the name of the resource.</value>
        public string PluralName { get; set; }
    }
}
